<template>
  <div id="app">
    <community-header></community-header>
    <!--增加子路由跳转-->
    <router-view></router-view>
    <community-footer></community-footer>
  </div>
</template>

<script>
/* @：表示src目录下*/
import Header from '@/components/Header.vue'
import Footer from '@/components/Footer.vue'

export default {
  name: "App",
  components:{
    'community-header':Header,
    'community-footer':Footer
  },
  data() {
    return {
      message:"App入口"
    };
  },
  mounted() {
  },
  methods: {
    
  },
};
</script>

<style lang="scss" >
@import "assets/layui/css/layui.css";
@import "assets/css/global.css";
@import "assets/layui/css/modules/layer/default/layer.css";
</style>
